s = "0101", a = [5, 15, 10, 20], m = 2, k = 3


function solution(s, a, m, k) {
    let mid = []
    a.forEach((item, index) => {
        mid.push([item, s[index]])
    })
    console.log(mid);
    let dish = []
    //let count = 0
    for ()
    //console.log(count);
    //if (count < k - m) return -1
}
console.log(solution(s, a, m, k));
